package id.co.shuba.spamobile;

import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class LogoutReceiver extends BroadcastReceiver {
	private Activity _activity;
	
	public LogoutReceiver(Activity activity) {
		_activity = activity;
	}

	@Override
	public void onReceive(Context ctx, Intent intent) {
		 Log.d("onReceive","Logout in progress");		 
		 _activity.finish();
	}	
}
